(describe-symbol-backends): Fix addition of the "type" backend
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Mar 2024 22:27:03 +0000 (18:27 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 21 Mar 2024 22:27:03 +0000 (18:27 -0400)
commit2000d6e0f27f9f34f343016f4aa93e09c29c8695
tree563e3e90cf27c8fe7a8b081176fc9d1544dbc292
parent05b8de54e30fdfccda78c5cfc2481828b897614b
(describe-symbol-backends): Fix addition of the "type" backend

That backend was added from `cl-extra.el` with no autoload, so
(describe-symbol `advice) failed to show the info about
the `advice` type unless `cl-extra.el` had been loaded beforehand.
`C-h o RET advice RET` worked by accident because the completion
table uses `cl-some` which is autoloaded from `cl-extra.el`.

* lisp/help-mode.el (describe-symbol-backends): Add the "type" backend.
* lisp/emacs-lisp/cl-extra.el (describe-symbol-backends): Don't add the
"type" backend here.
lisp/emacs-lisp/cl-extra.el
lisp/help-mode.el